include('shared.lua')

local storedhealth

function ENT:Think()
    storedhealth = self:GetNWInt("storedhealth")
	self.Entity:NextThink( CurTime() + 2 )
    return true
end

 
function ENT:Draw()
    self.BaseClass.Draw(self)

	cam.Start3D2D( self:GetPos() + Vector(-5, 0, 35) , Angle(0, 90, 23), 0.25 )
    draw.DrawText("Health stored: " .. storedhealth, "ScoreboardText", 0, 0, Color(255, 255, 255, 255), TEXT_ALIGN_CENTER )
	draw.DrawText("Press use for a health boost!", "ScoreboardText", 0, 12, Color(255, 255, 255, 255), TEXT_ALIGN_CENTER )
	cam.End3D2D()
	
	
end
 